package com.fanrui.code.entity;

import com.fanrui.code.db.jvmdb.ConfigFile;
import com.fanrui.code.db.jvmdb.IPersistable;

@ConfigFile
public class MapCondition implements IPersistable<Integer>{
    private Integer id;

    private Integer playerSizeGe;

    private Integer playerSizeLe;

    private Integer fishSizeGe;

    private Integer fishSizeLe;

    private Integer fishTypeSizeGe;

    private Integer fishTypeSizeLe;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlayerSizeGe() {
        return playerSizeGe;
    }

    public void setPlayerSizeGe(Integer playerSizeGe) {
        this.playerSizeGe = playerSizeGe;
    }

    public Integer getPlayerSizeLe() {
        return playerSizeLe;
    }

    public void setPlayerSizeLe(Integer playerSizeLe) {
        this.playerSizeLe = playerSizeLe;
    }

    public Integer getFishSizeGe() {
        return fishSizeGe;
    }

    public void setFishSizeGe(Integer fishSizeGe) {
        this.fishSizeGe = fishSizeGe;
    }

    public Integer getFishSizeLe() {
        return fishSizeLe;
    }

    public void setFishSizeLe(Integer fishSizeLe) {
        this.fishSizeLe = fishSizeLe;
    }

    public Integer getFishTypeSizeGe() {
        return fishTypeSizeGe;
    }

    public void setFishTypeSizeGe(Integer fishTypeSizeGe) {
        this.fishTypeSizeGe = fishTypeSizeGe;
    }

    public Integer getFishTypeSizeLe() {
        return fishTypeSizeLe;
    }

    public void setFishTypeSizeLe(Integer fishTypeSizeLe) {
        this.fishTypeSizeLe = fishTypeSizeLe;
    }

	@Override
	public void setPersistKey(Integer id) {
		this.id = id;
	}

	@Override
	public Integer getPersistKey() {
		return this.id;
	}
}